package Matter;

public class Node {
    //结点类
    public Object data;//存放结点值
    public Node next;//后继结点的引用
    public Node(){
        this(null,null);
    }
    public Node(Object data){
        this(data,null);
    }
    public Node(Object data,Node next){
        this.data=data;
        this.next=next;
    }
}
